package com.woniu108.person.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniu108.carService.commos.dto.AdminInfoDto;
import com.woniu108.carService.commos.dto.AdminSimpleDto;
import com.woniu108.person.model.AdminInfo;
import com.woniu108.person.param.AdminLoginParam;
import com.woniu108.person.param.CheckMessageParam;
import com.woniu108.person.param.FilterAdminParam;

/**
 * <p>
 * 管理员信息表 服务类
 * </p>
 *
 * @author yanxi
 * @since 2024-05-23
 */
public interface AdminInfoService extends IService<AdminInfo> {

    Page<AdminInfoDto> allAdmins(FilterAdminParam param);

    void sendCheckMessage(String adminPhone);

    void checkMessage(CheckMessageParam param);

    AdminSimpleDto adminCodeLogin(String adminPhone);

    AdminSimpleDto adminLogin(AdminLoginParam param);
}
